package xin.core.jwt;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <pre>
 * Jwt Authentication Request
 * </pre>
 *
 * @author lixin
 * @version 1.0
 * @since 2017/11/23 9:47
 */
@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
public class  JwtAuthenticationRequest implements Serializable {

    @ApiModelProperty(value = "用户名/手机号")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;
}